package jp.joogoo.web.schema.cybozulive;

import java.util.List;

import com.google.api.client.util.DateTime;
import com.google.api.client.util.Key;

public class NotifyEntry {
    @Key
    public String id;

    @Key
    public Author author;

    @Key
    public String title;

    @Key("summary")
    public String content;

    @Key("link")
    public List<Link> links;

    @Key
    public DateTime updated;

    @Key("category")
    public List<Category> categories;

    @Key("cbl:status")
    public String status;

    @Key("cbl:group")
    public String group;

    @Key("cblNtf:lastAccess")
    public DateTime lastAccess;

    public String getAlternate() {
        return Link.find(links, "alternate");
    }
}
